package com.hdw.auth.api;

import com.hdw.common.vo.PaginationVO;
import java.util.List;
import com.hdw.auth.bean.model.BaseAuthRole;

/**
 * baseAuthRole服务类
 * Created by liujunlei on 2022/01/05.
 */
public interface BaseAuthRoleService {

    List<BaseAuthRole> findByModel(BaseAuthRole baseAuthRole);

    PaginationVO<BaseAuthRole> findPageByModel(BaseAuthRole baseAuthRole, Integer pageNum, Integer pageSize);

    BaseAuthRole getById(Long idRole);

    int insert(BaseAuthRole baseAuthRole);

    int insertSelective(BaseAuthRole baseAuthRole);

    int updateByIdSelective(BaseAuthRole baseAuthRole);

    int updateById(BaseAuthRole baseAuthRole);

    int deleteById(Long idRole);
}
